{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fmodern Courrier New;}{\f1\fnil\fcharset129 Tahoma;}}
{\colortbl ;\red48\green127\blue48;\red127\green127\blue27;\red127\green27\blue127;\red127\green48\blue48;\red27\green127\blue127;\red64\green64\blue127;\red64\green127\blue64;}
\viewkind4\uc1\pard\f0\fs18      \u9484?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9488?
\par      \u9474?                \cf1\bullet  MobaXterm Personal Edition v7.3 \bullet\cf0                  \u9474?
\par      \u9474?            \cf2 (X server, SSH client and GNU/Cygwin tools)\cf0              \u9474?
\par      \u9474?                                                                    \u9474?
\par      \u9474? \u8594? Your computer drives are accessible through the \cf3 /drives\cf0  path     \u9474?
\par      \u9474? \u8594? Your DISPLAY is set to \cf3 146.6.237.4:0.0    \cf0                        \u9474?
\par      \u9474? \u8594? When using \cf3 SSH\cf0 , your remote DISPLAY is automatically forwarded   \u9474?
\par      \u9474? \u8594? Each command status is specified by a special symbol (\cf1 v\cf0  or \cf4 x\cf0 )    \u9474?
\par      \u9474?                                                                    \u9474?
\par      \u9474? \cf4\bullet  Important:\cf0                                                        \u9474?
\par      \u9474? \cf5 This is MobaXterm Personal Edition. The Professional edition\cf0        \u9474?
\par      \u9474? \cf5 allows you to customize MobaXterm for your company: you can add\cf0     \u9474?
\par      \u9474? \cf5 your own logo, your parameters, your welcome message and generate\cf0   \u9474?
\par      \u9474? \cf5 either an MSI installation package or a portable executable.\cf0        \u9474?
\par      \u9474? \cf5 We can also modify MobaXterm or develop the plugins you need.\cf0       \u9474?
\par      \u9474? \cf2 For more information: \cf3\ul http://mobaxterm.mobatek.net/versions.php\cf0\ulnone     \u9474?
\par      \u9492?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9472?\u9496?
\par Last login: Sun Feb  8 21:57:03 2015 from dhcp-146-6-237-4.engr.utexas.edu
\par                               _   _
\par   ___    ___    ___          (_) | |_    Electrical and Computer Engineering
\par  / _ \\  / __|  / _ \\  _____  | | | __|      University of Texas at Austin
\par |  __/ | (__  |  __/ |_____| | | | |_       http://www.ece.utexas.edu/it/
\par  \\___|  \\___|  \\___|         |_|  \\__| help@ece.utexas.edu : 232-3383 : ENS 340
\par 
\par -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
\par 
\par Please check the website daily at www.ece.utexas.edu/it for updates and news
\par regarding the ECE computer labs.
\par 
\par Dont bother editing your dotfiles!  Its a silly way to use our applications.
\par Use 'module load $modulename' to load all necessary settings for our apps.
\par 
\par Check available modules for use via 'module avail'.
\par 
\par Have environment issues?  Try a 'resetenv' before poking the ECE-IT help desk.
\par 
\par -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
\par 
\par 
\par rdeoliveira@mario (~) % ssh grader.ece.utexas.edu
\par rdeoliveira@grader.ece.utexas.edu's password:
\par Last login: Sun Feb  8 22:11:30 2015 from mario.ece.utexas.edu
\par rdeoliveira@grader (~) % cd EE460N/
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N) % ls
\par \cf6 lab0\cf0   \cf6 lab1
\par \cf0 rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N) % cd lab1
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N/lab1) % ls
\par \cf7 assemble\cf0   assembler.c  out.obj  shuffle.asm  Source.asm  test.asm
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N/lab1) % submit-ee460n -ls
\par -bash: submit-ee460n: command not found
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N/lab1) % submit-ee360n -ls
\par 2 files submitted:
\par 25543  assembler.c
\par  1749  shuffle.asm
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N/lab1) % gcc -ansi -o assemble assembler.c
\par assembler.c:57: warning: useless storage class specifier in empty declaration
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N/lab1) % ./assemble test.asm out.obj
\par program name = './assemble'
\par input file name = 'test.asm'
\par output file name = 'out.obj'
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N/lab1) % vi out.obj
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N/lab1) % ./assemble shuffle.asm out.obj
\par program name = './assemble'
\par input file name = 'shuffle.asm'
\par output file name = 'out.obj'
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N/lab1) % vi out.obj
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N/lab1) % gcc -ansi -o assemble assembler.c
\par assembler.c:57: warning: useless storage class specifier in empty declaration
\par assembler.c: In function \lquote find_symbol\rquote :
\par assembler.c:217: error: \lquote lPtr\rquote  undeclared (first use in this function)
\par assembler.c:217: error: (Each undeclared identifier is reported only once
\par assembler.c:217: error: for each function it appears in.)
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N/lab1) % gcc -ansi -o assemble assembler.c
\par assembler.c:57: warning: useless storage class specifier in empty declaration
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N/lab1) % ./assemble shuffle.asm out.obj
\par program name = './assemble'
\par input file name = 'shuffle.asm'
\par output file name = 'out.obj'
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N/lab1) % vi out.obj
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N/lab1) % ./assemble test.asm out.obj
\par program name = './assemble'
\par input file name = 'test.asm'
\par output file name = 'out.obj'
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N/lab1) % vi out.obj
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N/lab1) % submit-ee360n -show_acceptable_files
\par $VAR1 = 'shuffle.asm';
\par $VAR2 = 'assembler.c';
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N/lab1) % submit-ee360n assembler.c shuffle.asm
\par Opening assembler.c
\par EE460N: Computer Architecture, Spring 2015
\par Programming Assignment 1
\par 
\par Finished 'add' submission!
\par Opening shuffle.asm
\par EE460N: Computer Architecture, Spring 2015
\par Programming Assignment 1
\par 
\par Finished 'add' submission!
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N/lab1) % submit-ee360n -ls
\par 2 files submitted:
\par 25851  assembler.c
\par  1749  shuffle.asm
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N/lab1) % submit-ee360n -grade
\par ***** WARNING ***** WARNING ***** WARNING **** WARNING ******
\par *** You are attempting to submit this for a grade!
\par *** This action is irreversible and will determine your final grade.
\par *** Are you sure you want to continue?
\par *** TYPE 'Yes' TO CONTINUE
\par *************************************************************
\par Yes
\par Submitting grade request!
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N/lab1) %
\par Message from caproj@grader on <no tty> at 22:39 ...
\par Auto-grader queue position: 1 out of 1
\par EOF
\par 
\par Message from caproj@grader on <no tty> at 22:39 ...
\par Processing grade request for rdeoliveira, attempt number 0
\par EOF
\par 
\par Message from caproj@grader on <no tty> at 22:39 ...
\par ------------------------
\par Grading for rdeoliveira
\par ------------------------
\par ====================================================================
\par Used command line arguments: 1 points
\par An "x" in the "Incorrect" column indicates a test has failed
\par 
\par Part A: Tests for correct assembly (0.8 each)
\par Each is a 3-line assembly file with .ORIG x3000, instruction & .END
\par ====================================================================
\par Test Case               Correct    Your       Incorrect   Points
\par                         Output     Output
\par ====================================================================
\par .ORIG x3000             0x3000     0x3000                 0.8
\par ADD R3, R1, R0          0X1640     0x1640                 0.8
\par ADD R3, R1, x0          0X1660     error        x         0
\par ADD R6, R2, #15         0X1CAF     0x1CAF                 0.8
\par ADD R3, R1, #-3 ; test  0X167D     0x167D                 0.8
\par ADD R0, R1, #-16        0X1070     0x1070                 0.8
\par AND R6, R6, R6          0X5D86     0x5D86                 0.8
\par AND R4, R5, #1          0X5961     0x5961                 0.8
\par AND R1, R2, x-10        0X52B0     error        x         0
\par XOR R2, R3, R6          0X94C6     0x94C6                 0.8
\par XOR R4, R1, #1          0X9861     0x9861                 0.8
\par XOR R0, R2, x-10        0X90B0     error        x         0
\par LSHF R1, R2, #15        0XD28F     0xD28F                 0.8
\par LSHF R2, R2, xA         0XD48A     0xD48A                 0.8
\par RSHFL R2, R3, xF        0XD4DF     0xD4DF                 0.8
\par RSHFL R4, R5, x1        0XD951     0xD951                 0.8
\par RSHFA R4, R5, #15       0XD97F     0xD97F                 0.8
\par RSHFA R4, R5, x0        0XD970     0xD970                 0.8
\par label BR  label         0X0FFF     0x0FFF                 0.8
\par label BRn label         0X09FF     0x09FF                 0.8
\par label BRnzp label       0X0FFF     0x0FFF                 0.8
\par label BRnp label        0X0BFF     0x0BFF                 0.8
\par label BRzp label        0x07FF     0x07FF                 0.8
\par label JSR label         0X4FFF     0x4FFF                 0.8
\par JMP  R2 ; test          0XC080     0xC080                 0.8
\par JMP  R0                 0XC000     0xC000                 0.8
\par JSRR R1 ;te;st          0X4040     0x4040                 0.8
\par JSRR R7                 0X41C0     0x41C0                 0.8
\par label LDB R0, R1, #-10  0X2076     0xFFF6       x         0
\par LDB R2, R3, #31;        0X24DF     0x24DF                 0.8
\par LDB R3, R4, x-1F        0X2721     0xFFE1       x         0
\par LDW R4, R5, #1          0X6941     0x6941                 0.8
\par LDW R5, R6, #31         0X6B9F     0x6B9F                 0.8
\par LDW R6, R1, x-1F        0X6C61     0xFFE1       x         0
\par STB R1, R2, #1          0X3281     0x3281                 0.8
\par STB R2, R3, #31         0X34DF     0x34DF                 0.8
\par STB R3, R4, x-1F        0X3721     0xFFE1       x         0
\par STW R4, R5, #1          0X7941     0x7941                 0.8
\par STW R5, R6, #31         0X7B9F     0x7B9F                 0.8
\par STW R6, R7, x-1F        0X7DE1     0xFFE1       x         0
\par label LEA R7, label     0XEFFF     0xEFFF                 0.8
\par label LEA R1, label     0xE3FF     0xE3FF                 0.8
\par NOT R0, R1              0X907F     0x907F                 0.8
\par NOT R7, R7              0x9FFF     0x9FFF                 0.8
\par RET                     0XC1C0     0xC1C0                 0.8
\par RTI                     0X8000     0x8000                 0.8
\par NOP                     0X0000     0x0000                 0.8
\par TRAP x25                0XF025     0xF025                 0.8
\par TRAP x22                0XF022     0xF022                 0.8
\par HALT                    0XF025     0xF025                 0.8
\par HALT ; comment          0XF025     0xF025                 0.8
\par .FILL x25               0X0025     0x0025                 0.8
\par .FILL #3000             0X0BB8     0x0BB8                 0.8
\par .FILL x-1               0xFFFF     0xFFFF                 0.8
\par .FILL #25000            0x61A8     0x61A8                 0.8
\par 
\par ====================================================================
\par Part B: Tests for incorrect return code (0.8 points each)
\par ====================================================================
\par Test Case               Correct    Your       Incorrect   Points
\par                         Exit Code  Exit Code
\par ====================================================================
\par unaligned .ORIG         3          3                      0.8
\par .ORIG invalid address   3          0            x         0
\par BRnzp label             1          1                      0.8
\par BR label                1          1                      0.8
\par BRzp label              1          1                      0.8
\par JSR label               1          1                      0.8
\par LEA R3, label           1          1                      0.8
\par ABC                     2          0            x         0
\par MULT R6, R2, R1         2          0            x         0
\par AD R2, R1, R0           2          0            x         0
\par ADDIM R1, R1            2          0            x         0
\par NEGATE N2               2          0            x         0
\par HOWDY R2, R1            2          0            x         0
\par ANDOR R2, R2, R2        2          0            x         0
\par OR R1, R1, #20          2          0            x         0
\par SHUTDOWN                2          0            x         0
\par BRANCH TEST             2          0            x         0
\par ADD R6, R2, x30         3          4            x         0.4
\par ADD R5, R0, #-17        3          0            x         0
\par AND R0, R0, #43         3          3                      0.8
\par XOR R3, R7, #50         3          3                      0.8
\par LDW R2, R0, #-35        3          0            x         0
\par LDB R3, R3, x30         3          0            x         0
\par LSHF R1, R2, #16        3          3                      0.8
\par RSHFL R1, R2, #-10      3          0            x         0
\par STW R3, R1, x40         3          3                      0.8
\par STB R3, R1, x20         3          0            x         0
\par TRAP x-15               3          0            x         0
\par TRAP x2FF               3          3                      0.8
\par .FILL #70000            3          0            x         0
\par 
\par ====================================================================
\par Part C: Complete LC-3b assembly files (points vary)
\par ====================================================================
\par Test Case               Errors     Your       Incorrect   Points
\par                                    Exit Code
\par ====================================================================
\par comp                    no output  4            x         0.0/3.0
\par swap                    0          0                      3.0/3.0
\par counter                 no output  4            x         0.0/3.0
\par rigorous                1          0            x         2.0/3.0
\par all                     no output  4            x         0.0/3.0
\par reverse                 no output  4            x         0.0/3.0
\par pc_offset_maxrange      0          0                      1.0/1.0
\par jsr_too_far             Exit Code  0            x         0.0/1.0
\par lea_too_far             Exit Code  0            x         0.0/1.0
\par 
\par ====================================================================
\par Part D: Test cases for the shuffle program (points vary)
\par ====================================================================
\par Test Case                            Error               Points
\par ====================================================================
\par shuffle program doesn't assemble
\par ====================================================================
\par Assignment 1: Total points 53.8 / 100
\par ====================================================================
\par EOF
\par submit-ee360n -results 1
\par ------------------------
\par Grading for rdeoliveira
\par ------------------------
\par ====================================================================
\par Used command line arguments: 1 points
\par An "x" in the "Incorrect" column indicates a test has failed
\par 
\par Part A: Tests for correct assembly (0.8 each)
\par Each is a 3-line assembly file with .ORIG x3000, instruction & .END
\par ====================================================================
\par Test Case               Correct    Your       Incorrect   Points
\par                         Output     Output
\par ====================================================================
\par .ORIG x3000             0x3000     0x3000                 0.8
\par ADD R3, R1, R0          0X1640     0x1640                 0.8
\par ADD R3, R1, x0          0X1660     error        x         0
\par ADD R6, R2, #15         0X1CAF     0x1CAF                 0.8
\par ADD R3, R1, #-3 ; test  0X167D     0x167D                 0.8
\par ADD R0, R1, #-16        0X1070     0x1070                 0.8
\par AND R6, R6, R6          0X5D86     0x5D86                 0.8
\par AND R4, R5, #1          0X5961     0x5961                 0.8
\par AND R1, R2, x-10        0X52B0     error        x         0
\par XOR R2, R3, R6          0X94C6     0x94C6                 0.8
\par XOR R4, R1, #1          0X9861     0x9861                 0.8
\par XOR R0, R2, x-10        0X90B0     error        x         0
\par LSHF R1, R2, #15        0XD28F     0xD28F                 0.8
\par LSHF R2, R2, xA         0XD48A     0xD48A                 0.8
\par RSHFL R2, R3, xF        0XD4DF     0xD4DF                 0.8
\par RSHFL R4, R5, x1        0XD951     0xD951                 0.8
\par RSHFA R4, R5, #15       0XD97F     0xD97F                 0.8
\par RSHFA R4, R5, x0        0XD970     0xD970                 0.8
\par label BR  label         0X0FFF     0x0FFF                 0.8
\par label BRn label         0X09FF     0x09FF                 0.8
\par label BRnzp label       0X0FFF     0x0FFF                 0.8
\par label BRnp label        0X0BFF     0x0BFF                 0.8
\par label BRzp label        0x07FF     0x07FF                 0.8
\par label JSR label         0X4FFF     0x4FFF                 0.8
\par JMP  R2 ; test          0XC080     0xC080                 0.8
\par JMP  R0                 0XC000     0xC000                 0.8
\par JSRR R1 ;te;st          0X4040     0x4040                 0.8
\par JSRR R7                 0X41C0     0x41C0                 0.8
\par label LDB R0, R1, #-10  0X2076     0xFFF6       x         0
\par LDB R2, R3, #31;        0X24DF     0x24DF                 0.8
\par LDB R3, R4, x-1F        0X2721     0xFFE1       x         0
\par LDW R4, R5, #1          0X6941     0x6941                 0.8
\par LDW R5, R6, #31         0X6B9F     0x6B9F                 0.8
\par LDW R6, R1, x-1F        0X6C61     0xFFE1       x         0
\par STB R1, R2, #1          0X3281     0x3281                 0.8
\par STB R2, R3, #31         0X34DF     0x34DF                 0.8
\par STB R3, R4, x-1F        0X3721     0xFFE1       x         0
\par STW R4, R5, #1          0X7941     0x7941                 0.8
\par STW R5, R6, #31         0X7B9F     0x7B9F                 0.8
\par STW R6, R7, x-1F        0X7DE1     0xFFE1       x         0
\par label LEA R7, label     0XEFFF     0xEFFF                 0.8
\par label LEA R1, label     0xE3FF     0xE3FF                 0.8
\par NOT R0, R1              0X907F     0x907F                 0.8
\par NOT R7, R7              0x9FFF     0x9FFF                 0.8
\par RET                     0XC1C0     0xC1C0                 0.8
\par RTI                     0X8000     0x8000                 0.8
\par NOP                     0X0000     0x0000                 0.8
\par TRAP x25                0XF025     0xF025                 0.8
\par TRAP x22                0XF022     0xF022                 0.8
\par HALT                    0XF025     0xF025                 0.8
\par HALT ; comment          0XF025     0xF025                 0.8
\par .FILL x25               0X0025     0x0025                 0.8
\par .FILL #3000             0X0BB8     0x0BB8                 0.8
\par .FILL x-1               0xFFFF     0xFFFF                 0.8
\par .FILL #25000            0x61A8     0x61A8                 0.8
\par 
\par ====================================================================
\par Part B: Tests for incorrect return code (0.8 points each)
\par ====================================================================
\par Test Case               Correct    Your       Incorrect   Points
\par                         Exit Code  Exit Code
\par ====================================================================
\par unaligned .ORIG         3          3                      0.8
\par .ORIG invalid address   3          0            x         0
\par BRnzp label             1          1                      0.8
\par BR label                1          1                      0.8
\par BRzp label              1          1                      0.8
\par JSR label               1          1                      0.8
\par LEA R3, label           1          1                      0.8
\par ABC                     2          0            x         0
\par MULT R6, R2, R1         2          0            x         0
\par AD R2, R1, R0           2          0            x         0
\par ADDIM R1, R1            2          0            x         0
\par NEGATE N2               2          0            x         0
\par HOWDY R2, R1            2          0            x         0
\par ANDOR R2, R2, R2        2          0            x         0
\par OR R1, R1, #20          2          0            x         0
\par SHUTDOWN                2          0            x         0
\par BRANCH TEST             2          0            x         0
\par ADD R6, R2, x30         3          4            x         0.4
\par ADD R5, R0, #-17        3          0            x         0
\par AND R0, R0, #43         3          3                      0.8
\par XOR R3, R7, #50         3          3                      0.8
\par LDW R2, R0, #-35        3          0            x         0
\par LDB R3, R3, x30         3          0            x         0
\par LSHF R1, R2, #16        3          3                      0.8
\par RSHFL R1, R2, #-10      3          0            x         0
\par STW R3, R1, x40         3          3                      0.8
\par STB R3, R1, x20         3          0            x         0
\par TRAP x-15               3          0            x         0
\par TRAP x2FF               3          3                      0.8
\par .FILL #70000            3          0            x         0
\par 
\par ====================================================================
\par Part C: Complete LC-3b assembly files (points vary)
\par ====================================================================
\par Test Case               Errors     Your       Incorrect   Points
\par                                    Exit Code
\par ====================================================================
\par comp                    no output  4            x         0.0/3.0
\par swap                    0          0                      3.0/3.0
\par counter                 no output  4            x         0.0/3.0
\par rigorous                1          0            x         2.0/3.0
\par all                     no output  4            x         0.0/3.0
\par reverse                 no output  4            x         0.0/3.0
\par pc_offset_maxrange      0          0                      1.0/1.0
\par jsr_too_far             Exit Code  0            x         0.0/1.0
\par lea_too_far             Exit Code  0            x         0.0/1.0
\par 
\par ====================================================================
\par Part D: Test cases for the shuffle program (points vary)
\par ====================================================================
\par Test Case                            Error               Points
\par ====================================================================
\par shuffle program doesn't assemble
\par ====================================================================
\par Assignment 1: Total points 53.8 / 100
\par ====================================================================
\par rdeoliveira@grader (/home/ecelrc/students/rdeoliveira/EE460N/lab1) %
\par \pard\f1\fs20 
\par }
 